//
//  CYPromptView.m
//  CreditAddressBook
//
//  Created by mosu on 2017/2/9.
//  Copyright © 2017年 Lee. All rights reserved.
//

#import "CYPromptView.h"

@interface CYPromptView ()

@property (nonatomic,strong) UILabel * titleLabel;
@property (nonatomic,strong) UILabel * liuyanLabel;
@property (nonatomic,strong) UILabel * yonghuLabel;
@property (nonatomic,strong) UILabel * addLabel;
@property (nonatomic,strong) UILabel * txwlLabel;
@property (nonatomic,strong) UIView * lineView;
@property (nonatomic,strong) UILabel * shiliLabel;
@property (nonatomic,strong) UILabel * shenqLabel;
@property (nonatomic,strong) UILabel * jiuLabel;
@property (nonatomic,strong) UILabel *xinLabel;
@property (nonatomic,strong) UIButton * fuzhiBtn;
@property (nonatomic,strong) UIButton * quxiaoBtn;
@end
@implementation CYPromptView

- (instancetype)init {
     self = [super init];
     if (self) {
          [self addSubview:self.titleLabel];
          [self addSubview:self.yonghuLabel];
          [self addSubview:self.addLabel];
          [self addSubview:self.txwlLabel];
          [self addSubview:self.lineView];
          [self addSubview:self.liuyanLabel];
          [self addSubview:self.shiliLabel];
          [self addSubview:self.shenqLabel];
          [self addSubview:self.jiuLabel];
          [self addSubview:self.xinLabel];
          [self addSubview:self.fuzhiBtn];
          [self addSubview:self.quxiaoBtn];
          
          self.titleLabel.frame = CGRectMake(5, 5, 200, 100);
          
          
     }
     return self;
}

- (UILabel *)titleLabel {
     if (_titleLabel == nil) {
          _titleLabel = [[UILabel alloc] init];
          _titleLabel.text = @"提示";
     }
     return _titleLabel;
}

- (UILabel *)yonghuLabel {
     if (_yonghuLabel == nil) {
          _yonghuLabel = [[UILabel alloc] init];
          _yonghuLabel.text = @"尊敬的用户您好，修改手机号码成功后，需要重新完成运营商认证，步骤如下：";
     }
     return _yonghuLabel;
}

- (UILabel *)addLabel {
     if (_addLabel == nil) {
          _addLabel = [[UILabel alloc] init];
          _addLabel.text = @"1.添加微信公众号：";
          
     }
     return _addLabel;
}

-(UILabel *)txwlLabel {
     if (_txwlLabel == nil) {
          _txwlLabel = [[UILabel alloc] init];
          _txwlLabel.text = @"天下无赖诚信联盟";
     }
     return _txwlLabel;
}

- (UIButton *)fuzhiBtn {
     if (_fuzhiBtn == nil) {
          _fuzhiBtn = [[UIButton alloc] init];
          _fuzhiBtn.titleLabel.text = @"复制";
     }
     return _fuzhiBtn;
}

- (UILabel *)liuyanLabel {
     if (_liuyanLabel == nil) {
          _liuyanLabel = [[UILabel alloc] init];
          _liuyanLabel.text = @"留言实例：";
     }
     return _liuyanLabel;
}

- (UILabel *)shenqLabel {
     if (_shenqLabel == nil) {
          _shenqLabel = [[UILabel alloc] init];
          _shenqLabel.text = @"手机号更换申请";
     }
     return _shenqLabel;
}

- (UILabel *)jiuLabel {
     if (_jiuLabel == nil) {
          _jiuLabel = [[UILabel alloc] init];
          _jiuLabel.text = @"旧手机：13***XXX";
          
     }
     return _jiuLabel;
}

- (UILabel *)xinLabel {
     if (_xinLabel == nil) {
          _xinLabel = [[UILabel alloc] init];
          _xinLabel.text = @"新手机：15***XXX";
     }
     return _xinLabel;
}

- (UIButton *)quxiaoBtn {
     if (_quxiaoBtn == nil) {
          _quxiaoBtn = [[UIButton alloc] init];
          [_quxiaoBtn setTitle:@"取消" forState:UIControlStateNormal];
     }
     return _quxiaoBtn;
}

- (UIView *)lineView {
     if (_lineView == nil) {
          _lineView = [[UIView alloc] init];
          _lineView.backgroundColor= [UIColor darkGrayColor];
     }
     return _lineView;
}

@end
